#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QTcpServer>
#include <QTcpSocket>
#include <QHash>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    QHash<QString, QTcpSocket*> hash;
    QTcpSocket *ser_t;
    int people_cnt = 0;
    QVector<QString> tp;
    QVector<QString> noSay;

private:
    Ui::Widget *ui;
    QTcpServer *m_s;
    QTcpSocket *m_t;

};

#endif // WIDGET_H
